package com.xuanyuan.protobuf;

import android.os.Bundle;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

import com.xuanyuan.protobuf.databinding.ActivityMainBinding;

import proto.cloud.WorkStatusOuterClass;


public class MainActivity extends AppCompatActivity {

    // Used to load the 'testndk' library on application startup.
    static {
        System.loadLibrary("testndk");
    }

    /**
     * main
     */
    private ActivityMainBinding binding;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        binding = ActivityMainBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());

        long  time= System.currentTimeMillis();
        System.out.println(" 数据111111111  =="+time);

        // Example of a call to a native method
        TextView tv = binding.sampleText;
//        tv.setText(stringFromJNI());

        WorkStatusOuterClass.WorkStatus workStatus;

    }

//    /**
//     * A native method that is implemented by the 'testndk' native library,
//     * which is packaged with this application.
//     */
//    public native String stringFromJNI();


}